package com.leslie.hhcommunity.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author
 * @PackageName:com.leslie.hhcommunity.config
 * @ClassnName:ThreadPoolConfig
 * @Description: 使用@EnableScheduling和@EnableAsync注解启动定时和异步
 * @Date 2022/1/12  22:52
 */
@Configuration
@EnableScheduling
@EnableAsync
public class ThreadPoolConfig {}
